package com.jic.interaction.ChinaPost.model.vo.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 订单信息同步接口入参类
 * </p>
 *
 * @author syf
 * @since 2020-11-05
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderInfoRequest implements Serializable {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(notes = "平台编号")
    private String appId;



    @ApiModelProperty(notes = "用户编号")
    private String userId;


    @ApiModelProperty(notes = "订单单号，全局唯一")
    private String orderNo;


    @ApiModelProperty(notes = "下单时间格式：yyyyMMddHHmmss")
    private LocalDateTime orderTime;


    @ApiModelProperty(notes = "订单金额")
    private BigDecimal amount;


    @ApiModelProperty(notes = "赔偿金支付金额")
    private BigDecimal compensateAmount;


    @ApiModelProperty(notes = "下单时间格式：yyyyMMddHHmmss")
    private LocalDateTime estimatedArrivalTime;


    @ApiModelProperty(notes = "商品信息")
    private List<com.jic.interaction.ChinaPost.model.entity.skuInfo> skuInfo;


    @ApiModelProperty(notes = "渠道名称")
    private String channelName;


    @ApiModelProperty(notes = "渠道id")
    private String channelId;


    @ApiModelProperty(notes = "渠道门店名称")
    private String store;


    @ApiModelProperty(notes = "渠道门店id")
    private String storeId;


    @ApiModelProperty(notes = "城市")
    private String lbs;


    @ApiModelProperty(notes = "配送地址")
    private String deliveryAddress;


    @Override
    public String toString() {
        return "OrderInfoRequest{" +
                "appId='" + appId + '\'' +
                ", userId='" + userId + '\'' +
                ", orderNo='" + orderNo + '\'' +
                ", orderTime=" + orderTime +
                ", amount=" + amount +
                ", compensateAmount=" + compensateAmount +
                ", estimatedArrivalTime=" + estimatedArrivalTime +
                ", skuInfo=" + skuInfo +
                ", channelName='" + channelName + '\'' +
                ", channelId='" + channelId + '\'' +
                ", store='" + store + '\'' +
                ", storeId='" + storeId + '\'' +
                ", lbs='" + lbs + '\'' +
                ", deliveryAddress='" + deliveryAddress + '\'' +
                '}';
    }
}
